home *** CD-ROM | disk | FTP | other *** search
/ Level 2003 February / Level_02_2003.iso / Extra / Emulator / Commodore 64.exe / Commodore 64 / Readme.dos < prev    next >
Encoding:
Text File  |  2003-01-16  |  21.6 KB  |  631 lines

  1.                                 VICE
  2.                                 ~~~~
  3.  
  4.                      MS-DOS specific information
  5.  
  6.                        official VICE home page:
  7.                    http://viceteam.bei.t-online.de/
  8.  
  9.  
  10.  
  11. IMPORTANT NOTICE
  12. ================
  13.  
  14. There is no "real" documentation for the MS-DOS version of VICE at the
  15. moment.  Please refer to the Unix manual, available from the home
  16. page, for the main concepts.  This file is only supposed to get you
  17. started, and is incomplete.
  18.  
  19. If you feel like helping us to maintain the MS-DOS version of the
  20. documentation, you are of course welcome.  Please contact
  21. ettore@comm2000.it.
  22.  
  23.  
  24. OVERVIEW
  25. ========
  26.  
  27. VICE is a set of advanced emulators for the Commodore PET, CBM-II, 
  28. VIC20, C64 and C128.  It runs on Unix, MS-DOS, MS-Windows, RiscOS,
  29. OS/2 and BeOS systems.
  30.  
  31. VICE is Free Software, released under the GNU General Public License,
  32. and you must read the License before using this program.  The License
  33. is contained in the `COPYING' file which should be included in the
  34. distribution.  If it is not, please tell us.
  35.  
  36. For more information about the Free Software movement, please consult
  37. the GNU home page at http://www.gnu.org, or the Open Source (tm) home
  38. page at http://www.opensource.org.
  39.  
  40.  
  41. SYSTEM REQUIREMENTS
  42. ===================
  43.  
  44. This has not been tested thoroughly, but the minimum requirements
  45. should be:
  46.  
  47.  - a Pentium-class machine or better;
  48.  
  49.  - 8 Mbytes of RAM;
  50.  
  51.  - a register-compatible VGA graphics card (better if it is also SVGA
  52.    and VESA-compliant);
  53.  
  54.  - MS-DOS 5.0 or later (or Windows 95/98).
  55.  
  56. If you want to run VICE under plain MS-DOS (and you should), also the
  57. CWSDPMI DPMI server is needed.  It's available on several places on
  58. the Internet, and is also used by many other 32-bit MS-DOS program.
  59. For example, you can download it from the following site:
  60.  
  61.   ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/v2misc/csdpmi3b.zip
  62.  
  63. Alternatively, you can search for `csdpmi3b.zip' on
  64.  
  65.   http://ftpsearch.unit.no/ftpsearch/
  66.  
  67. or other FTP search engines.
  68.  
  69. VICE also supports standard PC joysticks and SoundBlaster 1.0/Pro/16
  70. compatible sound cards, although they are not mandatory.
  71.  
  72.   Important notice: due to license incompatibilities with the MIDAS
  73.   audio system, binaries of the MS-DOS version of VICE do not use the
  74.   MIDAS audio system anymore.  As a consequence, we are now using an
  75.   Allegro-based driver that only supports SoundBlaster cards.
  76.  
  77.   If somebody persuades the MIDAS people to release their code under
  78.   the GNU Library General Public License or under another license
  79.   compatible with the GNU General Public License used by VICE, there
  80.   are chances MIDAS support will be included again.
  81.  
  82.  
  83. INSTALLATION
  84. ============
  85.  
  86. There is no particular installation procedure for the MS-DOS version
  87. of VICE.  Just unzip the archive by keeping the directory structure
  88. intact (eg. you need to use `pkunzip -d' if you use PkZip).
  89.  
  90. If you have troubles getting sound to work, make sure that the
  91. `BLASTER' environment variable is set properly (you should have
  92. received information about this together with your soundcard).
  93.  
  94.  
  95. HOW TO RUN THE EMULATORS
  96. ========================
  97.  
  98. There are four executables for the three PET, VIC20 and C64
  99. emulators:
  100.  
  101.       x64.exe, the C64 emulator
  102.       x128.exe, the C128 emulator
  103.       xpet.exe, the PET emulator
  104.       xvic.exe, the VIC20 emulator
  105.       xcbm2.exe, the CBM-II emulator
  106.  
  107. To run them, just type the corresponding name at the DOS prompt.
  108.  
  109. `xpet.exe' actually emulates all the PET models (2001, 3008, 3016,
  110. 3032B, 4016, 4032, 4032B, 8032, 8096, 8296, SuperPET).  You can
  111. select which machine you want by using the `-model' option.  So you
  112. basically have to do:
  113.  
  114.       xpet -model 3032 for the PET 3032 emulator
  115.       xpet -model 4032 for the PET 4032 emulator
  116.       xpet -model 8032 for the PET 8032 emulator (80 column)
  117.  
  118. and so on.
  119.  
  120. As soon as the emulator is started, you should get the boot-up screen
  121. of the emulated machine on your screen.
  122.  
  123.  
  124. KEYBOARD LAYOUT
  125. ===============
  126.  
  127.  
  128. C64/C128/VIC20 Keyboard layout
  129. ------------------------------
  130.  
  131. The keyboard layout is pretty much the same as the one of the real
  132. thing.
  133.  
  134.  
  135.        !   "   #   $   %   &   '   (   )               INST
  136.    <-  1   2   3   4   5   6   7   8   9   0   +   -   DEL
  137.  
  138.  
  139.    CTRL  Q   W   E   R   T   Y   U   I   O   P   @   *   =
  140.  
  141.    RUN                                         [   ]
  142.    STOP    A   S   D   F   G   H   J   K   L   :   ;  RETURN
  143.  
  144.                                          <   >   ?
  145.    SHIFT     Z   X   C   V   B   N   M   ,   .   /   SHIFT
  146.  
  147.  
  148.    CBM                  SPACE
  149.  
  150.  
  151. The other keys are mapped as follows:
  152.  
  153.     Delete      Arrow Up/PI
  154.     Insert      Pound
  155.     Home      CLR/HOME
  156.     Page Up      RESTORE
  157.     Arrow keys    CRSR
  158.  
  159. The additional C128 keys are mapped as follows:
  160.  
  161.     F1            ESC
  162.     F2            TAB
  163.     F3            ALT
  164.     F5            HELP
  165.     F6            LINE FEED
  166.     F7            40/80 COLUMN
  167.     F8            NO SCROLL
  168.     F9            F1
  169.     F10           F3
  170.     F11           F5
  171.     F12           F7
  172.  
  173.     End           CRSR Up/Down
  174.     PgDown        CRSR Left/Right
  175.  
  176.     Numpad        Numpad
  177.     Grey +        Numpad -
  178.     Grey -        Numpad +
  179.     Grey Enter    Numpad ENTER
  180.  
  181. Moreover, unlike the C64, the arrow keys emulate the "unshifted"
  182. cursor keys in the upper part of the keyboard instead of the CRSR
  183. ones.
  184.  
  185.  
  186. PET keyboard layout
  187. -------------------
  188.  
  189. The PET keyboard layout is a bit more complicate and varies according
  190. to the model.
  191.  
  192.  
  193.   PET "graphics" keyboard (40-column models)
  194.   ..........................................
  195.  
  196.  
  197.      <-  !   "   #   $   %   '   &   \   (   )   <-      DEL
  198.  
  199.            Q   W   E   R   T   Y   U   I   O   P  UpArrow
  200.  
  201.      STOP    A   S   D   F   G   H   J   K   L   :    RETURN
  202.  
  203.      SHIFT     Z   X   C   V   B   N   M   ,   ;   ?   SHIFT
  204.  
  205.      RVS                 SPACE                          STOP
  206.  
  207.  
  208.   The other keys are mapped as follows:
  209.  
  210.       Home            [
  211.       PgUp            ]
  212.       End             <
  213.       PgDown          >
  214.       Ins             @
  215.  
  216.       Numpad          Numpad
  217.       Grey *          *
  218.       Grey /          /
  219.       Grey +          +
  220.       Grey -          -
  221.       Grey Enter      =
  222.       NumLock         CLR/HOME
  223.  
  224.       Arrow keys      CRSR
  225.  
  226.  
  227.   PET "business" keyboard (80-column models)
  228.   ..........................................
  229.  
  230.  
  231.        !   "   #   $   %   &   '   (   )               INST
  232.    <-  1   2   3   4   5   6   7   8   9   0   :   -   DEL
  233.  
  234.  
  235.    TAB   Q   W   E   R   T   Y   U   I   O   P   [   ]   \
  236.  
  237.                                                :
  238.    ESC     A   S   D   F   G   H   J   K   L   ;   @  RETURN
  239.  
  240.                                          <   >   ?
  241.    SHIFT     Z   X   C   V   B   N   M   ,   .   /    SHIFT
  242.  
  243.  
  244.    RVS                  SPACE                           RPT
  245.  
  246.  
  247.   The other keys are mapped as follows:
  248.  
  249.       Home            CLR/HOME
  250.       Ins             RUN/STOP
  251.       Del             Up Arrow
  252.  
  253.       Numpad          Numpad
  254.  
  255.       Arrow Keys      CRSR
  256.  
  257.  
  258. Special keys
  259. ------------
  260.  
  261. The following keys perform special actions on *all emulators*:
  262.  
  263.     Esc           Enter the emulation menu
  264.     Alt-F1        Attach next disk image from flip list
  265.     Alt-F2        Attach previous disk image from flip list
  266.     Alt-F3        Add current disk image to flip list
  267.     Alt-F4        Remove current disk image from flip list
  268.     Alt-F5        Toggle the statusbar that displays drive + speed infos
  269.     Alt-F12       Soft reset
  270.     Alt-Ctrl-F4   Datasette Record Key
  271.     Alt-Ctrl-F5   Datasette Play Key
  272.     Alt-Ctrl-F6   Datasette Rewind Key
  273.     Alt-Ctrl-F7   Datasette FF Key
  274.     Alt-Ctrl-F8   Datasette Stop Key
  275.     Alt-Ctrl-F12  Hard reset (wipes out RAM)
  276.     ScrollLock    Toggle warp mode (it makes the emulator run as fast as
  277.                   possible and turns sound off)
  278.     Alt-Pause     Freeze (emulates the Action Replay freeze button
  279.                   when an Action Replay image is loaded in the C64
  280.                   emulator)
  281.  
  282.  
  283. THE EMULATOR MENU
  284. =================
  285.  
  286. You can access the emulator's main menu by pressing the `Esc' key.
  287. You can then select a menu item with the arrow keys and activate it by
  288. pressing Enter.  Moreover, every menu item has an highlighted
  289. character which you can press to activate it; the items of the main
  290. menu can also be activate by pressing Alt + that character from within
  291. the emulator screen.
  292.  
  293. Many menu items open other submenus; you can leave the submenu by
  294. pressing the `Esc' key.  To leave the menu system and return to the
  295. emulation screen, you can either press `Esc' at the toplevel menu or
  296. press `Tab' from the main menu or any submenu.  You can also navigate
  297. through menu levels using `Left' and `Right' cursor keys.
  298.  
  299. Here is a short list of what the various items do.  (For more
  300. information, refer to the Unix documentation.)
  301.  
  302.  
  303. Attach images
  304. -------------
  305.  
  306. This menu is used to "attach" a disk, tape or cartridge image for use.
  307. "Attaching an image" means that the virtual disk, tape or cartridge is
  308. inserted in the virtual disk drive, tape recorder or cartridge slot
  309. and you can use it.
  310.  
  311. If you select any of the devices in the menu, a simple file selector
  312. will be shown; press `SPACE' to preview the contents of the image or
  313. `RETURN' to attach it.
  314.  
  315. In preview mode, you can browse the contents of the image and
  316. automagically start one of the programs, by selecting it with the
  317. arrow keys and pressing `RETURN'.  The contents are displayed in a
  318. special C64-lookalike font, and you can switch between the uppercase
  319. and lowercase character sets by pressing backspace.
  320.  
  321. When a program is autostarted, the 1541 automatically switches to the
  322. fast emulation mode (see below) before loading the file, and the
  323. user-specified emulation mode is then restored before the program is
  324. executed via the "RUN" command.  This procedure does not work for all
  325. the programs, though.  In such cases, you have to load manually
  326. (e.g. `LOAD"NAME",8,1' or `LOAD"*",8,1' for disk images and
  327. `LOAD"NAME"' or simply `LOAD' for tape images).
  328.  
  329.  
  330. Detach image
  331. ------------
  332.  
  333. This menu is used to "detach" disk, tape or cartridge images.  This
  334. means that the virtual disk, tape or cartridge is removed from the
  335. virtual disk drive, tape recorder or cartridge slot.
  336.  
  337. Notice that, when a T64 tape image is attached, X64 emulates a pressed
  338. PLAY button on the cassette recorder.  This should not do any harm in
  339. most cases, but some programs do not like it; if you experience any
  340. weird problems, try to detach the tape image after you have loaded it.
  341.  
  342.  
  343. Joystick settings
  344. -----------------
  345.  
  346. This allows you to select in which port the emulated joysticks should
  347. be plugged in.
  348.  
  349. You can specify a different device for the two joystick ports (the
  350. VIC20 has only one); available devices are the PC keyboard and the
  351. PC's real joysticks.  The PC keyboard can also be configured for any
  352. joystick layout you like.
  353.  
  354.  
  355. Video settings
  356. --------------
  357.  
  358. This is a sub-menu from which you can specify the desired refresh
  359. rate, enable/disable sprite collisions (on the C64) and select the VGA
  360. mode you want.  The following resolutions are supported:
  361.  
  362.      320x200 (linear)
  363.      640x480 (linear, requires a VESA-compliant SVGA card)
  364.      360x240, 360x270, 376x282, 400x300 (planar)
  365.  
  366.   *Warning*: the planar resolutions might not work on your equipment!
  367.   Some monitors do not like to be fed with strange frequencies, and
  368.   although we have never heard of any damages resulting from these
  369.   resolutions, we cannot give any warranties about that.
  370.  
  371. The mode-X resolutions are _much_ slower than the linear ones, so the
  372. performance will be worse with them.
  373.  
  374. The VGA mode in the PET emulator is hard-coded: you will get 320x200
  375. for the 40-column models (2001, 3032, 4032) and 640x480 for the
  376. 80-column models (8032, 8096, 8296).
  377.  
  378. From this menu you can also enable or disable a video cache which
  379. *might* make things faster when little graphics activity is going on.
  380. This feature was originally intended for Unix system running their
  381. window systems across networks; on MS-DOS, it usually does not help
  382. much (if at all).  As it can even slow things down, you probably want
  383. to keep it turned off.
  384.  
  385. Another important feature is "triple buffering".  With triple
  386. buffering, animations will be much smoother, provided that your system
  387. is fast enough to support them.  Triple buffering overrides the video
  388. cache (which is always turned off), uses some additional processor
  389. power and does not work at 640x480.  Moreover, it turns 320x200 into a
  390. Mode-X planar resolution, and thus that mode will become as slow as
  391. the other planar ones.
  392.  
  393. Important notice: triple buffering might not work correctly under
  394. Windows; and even if it works, it might cause serious performance
  395. loss.  You should definitely run the emulator under plain DOS if you
  396. want to use this feature.
  397.  
  398.  
  399. Drive settings
  400. -----------------------------------
  401.  
  402. This sub-menu specifies the parameters for the hardware-level
  403. emulation of the 1541 disk drive.  If the programs you are running do
  404. not need accurate emulation of the disk drive, keep the "true" 1541
  405. emulation turned off as it is much faster this way.  On the other
  406. hand, if you run games that require turboloaders or other features
  407. that are not supported by the fast disk-drive emulation you should
  408. keep it turned on.
  409.  
  410. The 1541 "idle method" selects the way the 1541 CPU is emulated.  With
  411. the "Skip Cycles" method, each time the serial line is accessed by the
  412. computer the drive executes all the cycles since the last time it was
  413. running; if the number of elapsed cycles is larger than a certain
  414. value, the drive discards part of them.  With the "Trap Idle" method,
  415. the disk drive is still emulated upon serial line accesses as with the
  416. previous option, but it is also always emulated at least at the end of
  417. each screen frame.  Moreover, if the drive gets into the DOS idle
  418. loop, only pending interrupts are emulated to save time.
  419.  
  420. The first option ("Skip cycles") is usually better for
  421. performance, as the drive is emulated as little as possible; on the
  422. other hand, you can notice sudden slowdowns (when the drive
  423. executes several cycles at once).  Moreover, if the drive tries to
  424. get in sync with the computer in some weird way and the computer
  425. does not access the serial line for a long time, it is possible
  426. that some cycles are discarded and the sync is lost.  Notice that
  427. this hack can have no effect on performance if one program
  428. continuously reads the CIA ports, as the drive will have to be
  429. emulated in any case.
  430.  
  431. The second option ("Trap idle") is usually a bit slower, as at least
  432. interrupts are always emulated, but always keeps the 1541 and the
  433. computer in sync.  On the other hand, if a program installs a
  434. non-standard idle loop in the drive, the 1541 CPU has to be emulated
  435. even when not necessary and the global emulation speed is then much
  436. slower.
  437.  
  438. If the "Trap Idle" method is enabled, the Scroll Lock LED of the
  439. keyboard will emulate the 1541 drive LED.
  440.  
  441. The "Enable parallel cable" option can be used to enable/disable the
  442. emulation of a SpeedDOS-compatible parallel cable.
  443.  
  444.  
  445. Sound settings
  446. --------------
  447.  
  448. This menu is used to specify the parameters for the sound emulation.
  449. Sound playback only works if you have specified a 100% speed limit,
  450. and is turned off with an error message otherwise.  Moreover, it eats
  451. some CPU speed.
  452.  
  453. The "sound buffer size" setting is used to specify the amount of data
  454. the audio playback buffer can hold; data is actually played through
  455. the speaker when the buffer is full.  Because of this, large values
  456. will result in delayed sound output; slow machines have to use larger
  457. values than fast ones, though, because this helps to avoid "clicking".
  458.  
  459. SID filters are a feature of the original audio chip of the C64; if
  460. you turn them off, some sound effects will not be played correctly.
  461. But on the other hand, keeping them enabled makes VICE a bit slower.
  462.  
  463.  
  464. Other settings
  465. --------------
  466.  
  467. These settings include:
  468.  
  469. - the 1750 512K RAM emulation;
  470.  
  471. - 1351 mouse emulation;
  472.  
  473. - IEEE488 interface emulation;
  474.  
  475. - custom emulation speed;
  476.  
  477. - "warp mode" (makes the emulator run as fast as possible);
  478.  
  479. - usage of the keyboard LEDs for the 1541 emulation and warp mode (try
  480.   to turn it off if your machine hangs without any apparent reason);
  481.  
  482. - memory configuration (PET and VIC20 only);
  483.  
  484. On the PET emulator, this also lets you choose the model of PET being
  485. emulated.  Notice that switching from one model to another causes the
  486. emulated machine to reset itself.
  487.  
  488.  
  489. Reset
  490. -----
  491.  
  492. This is used to reset the emulated machine.  The are two types of
  493. reset: the "hard" one which wipes out the RAM as if the machine had
  494. been turned off and on, and the "soft" one which simply emulates a
  495. standard reset button and preserves the memory contents.  The soft
  496. reset can be performed from the emulation screen by pressing
  497. `Alt-F12'; the hard one by pressing `Alt-Ctrl-F12'.  "Soft" reset is
  498. sometimes not enough to bring the machine to the startup sequence.
  499.  
  500.  
  501. Monitor
  502. -------
  503.  
  504. Enters the built-in machine-language monitor.  Type `x' to go back to
  505. the emulation.  A complete list of the commands is in the UNIX
  506. documentation, available from the VICE home page.  Otherwise, you can
  507. use the `help' command.
  508.  
  509. The monitor is still under construction, so use with care.
  510.  
  511.  
  512. VICE info
  513. ---------
  514.  
  515. Displays some information about the authors, the copyright and the GNU
  516. General Public License.
  517.  
  518.  
  519. Quit
  520. ----
  521.  
  522. Exits the emulator.
  523.  
  524.  
  525. USING GZIP-COMPRESSED FILES
  526. ===========================
  527.  
  528. The VICE emulators are able to handle files compressed with GNU zip
  529. automagically, without the need of unzipping them first; this can be
  530. used for both D64 and T64 images.  In order to allow this, the file's
  531. extension must end with `Z': for instance, compressed D64 files must
  532. have a `D6Z' extension while compressed T64 files must have a `T6Z'
  533. extension.
  534.  
  535. A binary of GNU zip is available through the DJGPP distribution, so
  536. you can find it in any of the DJGPP mirror sites.  For example, you
  537. can find it at the following places:
  538.  
  539.   ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/
  540.   ftp://x2ftp.oulu.fi/pub/msdos/programming/djgpp/v2/
  541.  
  542. Of course, GNU Zip is free software released under the GNU General
  543. Public License (just like VICE is), and its use is highly recommended
  544. as T64 and D64 usually waste much of space and can be highly
  545. compressed.
  546.  
  547. One drawback is that when an image is opened in read/write mode, VICE
  548. has to re-compress it when the image is detached to update the original
  549. in case something has changed.  This makes using of GNU zipped images
  550. somewhat more harmful (and slower) than using plain uncompressed ones,
  551. as it relies on the zipping process to always work correctly.  If you
  552. are concerned about destroying important images, you should protect
  553. them from being written to with the DOS command `ATTRIB':
  554.  
  555.   attrib +r diskimage.d6z
  556.  
  557. This is a good idea even if you are not using GNU zipped images, as it
  558. prevents emulated programs from writing to the disk.  (Of course, some
  559. programs explicitly require the disk not be write-protected instead.)
  560.  
  561.  
  562. CONTACTS
  563. ========
  564.  
  565. You can always find the latest news about VICE at the official VICE
  566. home page:
  567.  
  568.   http://viceteam.bei.t-online.de/
  569.  
  570. Also the public patches and beta releases will be available there, so
  571. you might want to have a look at it periodically.  If you are going to
  572. report a bug, please check those pages first; it is possible that the
  573. problem you encountered has already been fixed in a more recent
  574. version.  Also notice that, since VICE is released under the GNU
  575. General Public License, the sources are available from the home page
  576. too.
  577.  
  578. If you want to report bugs, make suggestions or contribute to the
  579. project, e-mail one of the following people:
  580.  
  581.   Andreas Boose <boose@linux.rz.fh-hannover.de> drive, tape and
  582.   cartridge emulation.
  583.  
  584.   Ettore Perazzoli <ettore@comm2000.it> for everything else.
  585.  
  586.  
  587. COPYRIGHT
  588. =========
  589.  
  590.   Copyright C 1998-2002 Andreas Boose
  591.   Copyright C 1998-2002 Dag Lem
  592.   Copyright C 1998-2002 Tibor Biczo
  593.   Copyright C 1999-2002 Andreas Dehmel
  594.   Copyright C 1999-2002 Thomas Bretz
  595.   Copyright C 1999-2002 Andreas Matthies
  596.   Copyright C 1999-2002 Martin Pottendorfer
  597.   Copyright C 2000-2002 Markus Brenner
  598.   Copyright C 2000-2002 Spiro Trikaliotis
  599.  
  600.   Copyright C 1997-2001 Daniel Sladic
  601.   Copyright C 1996-1999 Ettore Perazzoli
  602.   Copyright C 1996-1999 AndrΘ Fachat
  603.   Copyright C 1993-1994, 1997-1999 Teemu Rantanen
  604.   Copyright C 1993-1996 Jouko Valta
  605.   Copyright C 1993-1994 Jarkko Sonninen
  606.  
  607.    This program is free software; you can redistribute it and/or
  608.    modify it under the terms of the GNU General Public License as
  609.    published by the Free Software Foundation; either version 2 of the
  610.    License, or (at your option) any later version.
  611.  
  612.    This program is distributed in the hope that it will be useful, but
  613.    WITHOUT ANY WARRANTY; without even the implied warranty of
  614.    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  615.    General Public License for more details.
  616.  
  617.    You should have received a copy of the GNU General Public License
  618.    along with this program; if not, write to the Free Software
  619.    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
  620.    02111-1307  USA
  621.  
  622. The MS-DOS version of VICE was made possible by a great library:
  623.  
  624.   - Allegro, a Game Programming Library by Shawn Hargreaves
  625.     (http://www.talula.demon.co.uk/allegro).
  626.  
  627. There have also been contributions from several people around the
  628. world: look at the Unix documentation or at the "VICE Info" command
  629. for a complete list.
  630.  
  631.